import request from '@/utils/request'


export function getOrderList(query) {
  return request({
    url: '/order/panel/getOrderList',
    method: 'get',
    params: query
  })
}

export function confirmOrder(data) {
  return request({
    url: '/order/panel/confirmOrder',
    method: 'get',
    params: data
  })
}


//编辑订单明细
export function editDetail(data) {
  return request({
    url: '/order/normal/detail/editDetail',
    method: 'post',
    data: data
  })
}

export function orderItemRemove(data) {
  return request({
    url: '/order/normal/detail/remove',
    method: 'get',
    params: data
  })
}


